Making lemon juice gel for cooking
You could make a lemon curd. 

It will not be baked at the same time as the fish, but could be a good way to do what you want,

See this recipe.

https://www.geniuskitchen.com/recipe/cod-fillets-with-an-asian-lemon-curd-glaze-164296