We used PoE hats for a bunch of Raspberry Pis once. It’s definitely a great idea.