You can play PoE on these platforms:
PC (Microsoft Windwos)
Xbox One, Series X
Playstation 4, 5
You can also play PoE on next-gen consoles like PS5 and Xbox Series X. The game state will not be lost. So you can continue playing on your new console with no worries.