Power Automate can be used to send attendees their invite to the event and allow you to gauge event uptake. Whilst Forms will not allow you to manage a limit on numbers, it is quick and easy to establish for an event with unlimited numbers. The event can be virtual or of course in person, using an Outlook Calendar event.
https://www.damobird365.com/update-event-and-hide-attendees/