sure, but you can still leave horizontal space around your dashes—or not
what we nowadays call 'microtypography' and think ourselves very avant-garde for employing is ubiquitous in medieval illuminated manuscripts; every line is full of subtle variations in letterforms to better fit the available space
https://practicaltypography.com/hyphens-and-dashes.html
Handwriting allows one to vary the point (width) of individual letters. Printing presses do not afford that luxury.