Dynamically switch deployment branches

In Expo I know you can have different deployment branches for OTA updates. Is there a way to programmatically switch between deployment branches? I would love to have a hidden button in the app that allows me to toggle on and off of a staging branch for testing.