Hello @test566,
You can check this article, where it will meet your requirements: https://exadel.com/news/aem-experience-fragments-consuming-outside-aem/
From the external source, you can add it via,
<div>External Content</div>
<script src="http://localhost:4502/content/experience-fragments...