Not sure what you want to achieve, but as food for thoughts, here is an example of Discourse running in an iframe: