Can we load dynamic data in Shopify Theme App Extensions

Hello everyone!
I was thinking about creating a Shopify Theme App Extension that enables the merchant to display widgets that contain videos on the product pages of their store.
My question is about the capacity to load dynamic data from an external API and modifying the template.
Can the app extension contact an external API and fetch dynamic widgets and videos? Can the app block hide itself if, for example, no videos are set up?
Does Shopify have to keep track of the number of widgets and the number of videos for each product?
Thank you

Hey, I know it’s been a while since you posted this but did you find out any information?

I am currently trying to do a similar task, fetching dynamic data and rendering in an app-block.