This could use some clarification. Do you mean that you want...
- Lutris or Plasma (depending on a detected game controller) to automatically launch as soon as your computer finishes booting, instead of the display manager that normally presents a login screen?
- Lutris to automatically launch when you log in to a Plasma session while your PS5 controller is connected?
- Lutris to automatically launch whenever you connect a controller while already logged in to a Plasma session?
- Something else?
The possibilities really depend on what you're after.