User prompted to create temporary access ID and password

Sorry if I put this in the wrong place.

I’m looking for info on how to setup my hotspot so that a new user is prompted by a disclaimer and if they agree allows them to create a new user ID and password that expires after 24 hours. Is this possible?

Thanks!