Depends on what engine the game runs in. If it runs on an engine that is compatible with the Switch, like Unreal Engine 4, then yes. If not, then it could technically still be ported but it would take A LOT more work.
Hardware Comparison Threads:
Current Thread
Is Hardware Getting TOO Powerful?
Older Threads:
PlayStation/Xbox/Switch: 2022 Edition
PlayStation/Xbox/Switch Hardware Battle: 2021 Edition!
PlayStation 4/Xbox One/Nintendo Switch: 2019 vs. 2020
PlayStation 4/Xbox One/Nintendo Switch: 2018 vs. 2019
PlayStation 4/Xbox One/Nintendo Switch: 2017 vs. 2018
PlayStation 4: 2015 vs. 2016 vs. 2017