How can I accept Bitcoin as a payment without a 3rd party gateway
There are several solutions out there and currently the most hyped one is probably BTC-Pay. It also supports lightning, so you should be pretty future-ready.