My name is e.g. Branković, can I use the coat of arms of that medieval family?

The answer is a simple “no”. None of the medieval nobility have direct male heirs that remained armigerous until today. A coat of arms is not tied to someone’s surname.