There is a way you can create an underline without text inside Microsoft Word.
To do this, press CTRL + U, it will start the underline, then press CTRL + SHIFT + Spacebar to create non-breaking spaces.
Press and hold this keyboard combination to add multiple underlines next to each other.