Can it be possible to install e/os in my samsung galaxy a31

I just want to have e/os in my phone

Not in the moment. It was shipped with Android 10 and there is no eOS Q available.
But you can try the eOS GSI. How to you will find here [Custom Build] eOS Q for Samsung S9+ star2lte -- new build Sept. 16th