I've never done it, so I'd need to try it.
It might hinge on what capability must be provided to make the admin menu appear.
You have to realise that you are trying to make Moodle do something it was not really intended to do so you may have to do some experimenting. Unfortunately, it may never work as you want.