Hey @ytohi!
You can of course do that by either a formula or table upload. You can have a look at the forum post [here] (Defining variable thermal boundary conditions).
Hope this helps. If you have any question/s, feel free to ask.
Best Regards,
- Ahmed