You may notice that if you enter a room you’ve never been in before, your hand reaches to certain particular locations for a light switch. That’s no accident; it’s because both the electrical and building codes require that a light switch exist, and that it be there.
That means “at least one light switch”. If there are 2 or 3, they don’t all need to exist. As long as there is 1 light switch which does operate a light in the room.
This requirement is partly for the benefit of guests, and that especially includes first responders, who may need to get room lights on quickly to intubate someone, see a room is clear of victims, or see that a loved one is not holding a gun.
Since your plan is to eliminate a light switch, you must make sure you are not eliminating the only light switch in the room. You cannot do that unless there is also another light switch in a suitable location.
That said, there is nothing wrong with keeping the switch and using the remote as the primary control method. Simply don’t turn off the switch. Further, this gives first responders the ability to get the light to come on by switching the switch off then on, once or twice. Most remote-control modules will treat that as a command to bring the lights up.