Yes.
In fact, the minami-muki (south-facing) places garner a premium precisely for this purpose — much more of direct sun.
My first time staying there I was told regulations make dryers take so long that it just isn't worth the electricity cost. The one time I used the dryer in Japan, my clothes were just a warm damp after two cycles.
I have also used shower dryers. Very pleasant. Controls are outside the shower and the shower was separate from the toilet. I didn't note any issues with lint, however, I had weekly cleaning service that was probably dealing with it.
I've also lived in Japan without a dryer at all. Hanging clothes on the balcony to dry or inside when it's raining. It seems to me that clothes last a lot longer when they're air dried.
Coming from another culture, nobody even remotely think this is a thing.
Seeing multicoloured underpants and bedsheets fluttering in the streets is not an impressive or edifying sight for the clothing owner or for the unfortunate observer. Lack of privacy is dehumanizing.