Hello,
Thanks for reaching out.
Yes, it’s possible. To do this, set the access level for all files to Subscribers. If a user is not registered, a button like this will appear.
Both the message text Please login and the button label Login can be customized from the settings options.
When the red-marked Login button is clicked, the user will be redirected (a popup) to the login page. If the user is not already registered, they can sign up there and then access the page.
If you need any further assistance, feel free to ask.
Regards