HTML content in custom fields

I know this question was asked a few years ago, but i wanted to see if anything has changed or an acceptable workaround has been found.

I’m trying to add some custom html into a custom field, but my html elements keep getting stripped out. My plan is to later populate these fields via API, so any feedback regarding populating custom fields with HTML via API would be appreciated as well.!