1👍
✅
Firstly, you will never be able to view another users profile if you do not use their ID in the URL to generate the view.
However, there is no reason why there would be any negative implications such as speed etc. by designing your user profile in this way.
I would personally recommend against it as it will limit the possibilities of what you can achieve with the user profiles.
And in terms of security, you could just add a check around the user profile view to check the current user has permission to be there.
👤drew
Source:stackexchange.com