It looks to me like P4 is A language for processing data packets, nothing more, nothing less. The link you provided describes a tool for converting P4 to VHDL.
If you are willing to program FPGAs without using VHDL/Verilog, like using C/C++, then have a look a Vivado HLS. It has its adv and disadv, depends on what type of development is intended. I have never used HLS.