Enabling webremote with NO physical remote

Hello,

Wondering if there is a backend way to enable the web remote option through ssh for example if I dont have a physical apple remote?

Thank you

It should be enabled by default on a fresh install.