We can write 'baka' like ばか, バカ, or 馬鹿 in hiragana, katakana, or kanji. Among them, バカ(katakana) is the most common.
The choice of character does't change the core meaning, but the nuances may differ a little depending on the writer. For example, ばか in hiragana looks rather softer than others.