can svg be added to the main file?

Good morning,
so I’m making an html template

I want to ask, can the SVG code be included in the main file?
does it need to be replaced by an image placeholder?

thank you

If there’s no copyright or it’s a open source, you can add

thanks for your answer sir, but What if it’s made by me? What to do?

you can