No. The only thing you can do is to force all users to login before seeing any page inside the platform.
Go to Administration ► Security ► Site policies and check "Force users to login".
Security and privacy
How to avoid accessing courses list as guest?
This discussion has been locked so you can no longer reply to it.