Technically not agnosticism. It would be reincarnationism (principle tenet of Buddhism, Hinduism and a few other belief systems).
You COULD be agnostic as well as a reincarnationist, but you can’t be agnostic unless you believe it’s not possible for humans to know that god exists.