Traditional display managers allow for running session files form /usr/share/xsessions and /usr/share/wayland-sessions.
This can be presented as a dropdown instead of asking the user to enter the command (can always add a checkbox like feature to enable running a command instead).
Remembering what session was chosen and keeping it selected for future is another thing that can be done.