Yes,it can be done if absolutely necessary.
In stress test EKG monitoring is done even while activity.
Please ask if there are any doubts.
My last ekg was done with me sitting up and feet dangling. It showed abnormal altho my DR said it was not significant and the heart blood tests he'd ran were all normal and the sinus rythm was good so not to worry. All my prior ekgs had shown normal.
If all those test were normal then hopefully your heart is normal.