Can We Shell an Onion Site

Is there a way to get root access to a .onion website as we can do for any other surface websites?

What do you mean by root access? as in root user (power user) or do you mean the root of the path?

Power user I suppose

You’re simply asking “how do I hack into anything?”

Learn how to hack!

Here are recommended resources.

https://www.stationx.net/recommended-hacking-books-courses-resources/