Should my testes get lifted up closer to my groin during erections and sex?

Can happen. A relatively small scrotum can be pulled upwards with an erection, this in turn will "lift" testes. Commonly occurs in circumcised men, and more likely if more rather than less penile shaft skin was removed at circumcision.