Can SDL dynamically adjust the list of display modes?

Is it possible to “refresh” the display modes using SDL2 while it is running? For example, if I change my desktop resolution while SDL is running, then SDL should update the display modes to reflect the new desktop resolution.

It seems to me that the supported modes are evaluate exactly once during SDL_Init, and then never again.

Is this a flaw in the framework, or is there some kind of workaround?

Another example: devices like the Switch support 1080p in docked mode, but only 720p in handheld mode. SDL should be capable of adjusting the list of supported modes on the fly to reflect this.