I’d rather much prefer this solution, as it avoids exposing a weird, semi-private, unstable API.
Yes; once Nautilus acts as the file selection portal we can drop the FileChooser portal implementation inside the GNOME portal. The GTK portal already acts as the “portal of last resort”, so non-GNOME environments can always fall back to a file selection implementation. Additionally, users can configure xdg-desktop-portal through the portals.conf
file, and add their own preferred backend for the file selection portal, if they don’t want to use Nautilus.