beginner question – regional accents?

I'm a total baby beginner in Japanese (Genki chapter 3 + started wanikani) and just got to wondering – how are regional accents conveyed in written Japanese? Like if a writer has a character with a heavy regional accent (or a foreign accent, for that matter). Would there be more hiragana to catch the sound of it?

by sqplanetarium