Absolutely you can transplant it, and when you do, this is your chance to straighten it out. You may have a "child" plant or two beginning to form, which could be the reason your Bromeliad is "leaning." Be sure to leave the child plants attached if you have any -- they're not large enough to cut off of the mother plant yet.
This article provides some good information on the proper soil mix and other good tips for when you transplant your Bromeliad:
https://www.gardeningknowhow.com/houseplants/bromeliad/growing-bromeliad-plants.htm