If it is your purpose, why not use them, but maybe are you looking for another approach like web components…?
Hope this helps.
Problem :
So basically I would like to create live tiles like windows, which can show things like notifications, time, etc., but I would like to create them in html and javascript. I have all the javascript pieces ready but I wanted to know if it would be wise to use an iframe for every tile because the tiles can be created dynamically and all have their own code. Here I ask myself whether IFrames represent a performance problem or whether I can use them with a clear conscience