If you can work on this progression without pain, I would suggest that. As it’s an isometric, you may be able to use it as a sort of stretch that builds strength, kind of like a back bridge. Which reminds me, try to work on the bridge progressions if you can do so pain free. You might also want to try wall sits, especially if your squatting has been affected as well.
If all of that stuff still causes you pain, then seeking professional help is probably your best bet.