Can IPFS be used to access a web panel?

I was wondering if I had a cockpit web panel active on a Ubuntu server, could ipfs be used to access the local cockpit web panels’ api for api calls from a front end application? Would the front end app need the ipfs companion to parse the hashed location of the web panel?

I have a front end app that will need send calls to cockpit The trick is broadcasting access to cockpit thorugh ipfs. Is this possible? Would I need ipfs companion on the front end app to parse and access the hashed address of cockpit?