is it ok...
So I'm going to reframe this somewhat:
- is it consistent with the REST architectural style?
- is it consistent with the current HTTP specification?
And the answer to both of these is "no".
The REST architectural style is a collection of architectural constraints. One of those constraints is Uniform Interface; see section 5.1.5, and the follow ups in section 5.2, of Fielding's dissertation.
But very loosely: one of the important ideas is that all of us understand the semantics of HTTP requests the same way; it doesn't matter whether we're talking about a web log, or an e-commerce site, or an aggregation of fun cat videos, or a technical question/answer forum, or an API -- the messages have the same meanings, so we can use the same general purpose tools (browsers, web crawlers) to talk to any of them.
Similarly, we can stick various forms of general purpose components (caches, proxies) in front of the servers, and it all "just works", because everybody understands the messages the same way.
Now, on the web (which is the reference application of the REST architectural style), our messages are defined by the HTTP standards (currently RFC 9110, etc). And that means, among other things, when we want to identify the target resource of an HTTP request, then there's a set of rules about doing that which are shared by everybody that speaks HTTP.
Those rules vary somewhat for the different versions of HTTP, but since everybody shares those rules about different versions, it all works out. For example, the rules about HTTP 1.1 are here. You can read them to fully appreciate their technical glory, but the digest version is that the target resource is (in the common case) determined by looking at the Host header field and the request-target from the request line... and that's it.
So the fundamental problem with having a special rule for your server that part of the resource identifier is supposed to be encoded within the Authorization header field is: general purpose components aren't going to know about your special rules, and are going to continue to assume that you are using the same request semantics as everybody else.
And if something goes wrong - expensively wrong with lawyers and so on being called in - your lawyers are going to be very unhappy when they learn that your resource identifiers weren't following the same rules as everybody else.
The "good" news is that the likelihood of that happening is small. So you (and your clients) probably won't get burned badly.
/api/meor/api/users/me(orselforcurrentor whatever...) rather that/api/users.