My initial response to this is “NOOOOOOO!!!!!” for accessibility reasons. However, I did a quick StackOverflow search and found that it may be possible and there’s a working demo in the thread.
If you absolutely have to do this, I would say that you have to heavily emphasize this prior to the user entering the section. For keyboard only or screen reader users, this is a significant barrier.
Realistically, I would emphasize that would not be compliant with ADA and WCAG and recommend they work with their LMS to get this fixed. Otherwise, they are putting themselves at risk for a lawsuit. Even private business are subject to the regulations and susceptible to litigation.