You can buy splitters that convert the PoE into standard network + barrel power plug. Cost 20ish dollars and a roughly raspberry pi sized device in physical space.
One such example (Though I haven't used it personally): https://www.amazon.com/Amcrest-Splitter-Adapter-802-3af-comp...