I mean yeah, but learning a new layout is a lot easier when the keycaps match. Also if someone who only knows qwerty has to use your computer for whatever reason they can still hunt and peck vs it being completely impossible.
Learning to touch type any layout, either when first learning to type or learning a new layout, is seriously hampered by ever looking at your hands. You should use a layout chart and navigate the keyboard by touch. There's a reason that most actual typing education uses blank keyboards or keyboard covers that hide the letter printings.
If somebody who only knows qwerty uses your computer, you should switch the keymap to qwerty for them, not force them to try to navigate an unfamiliar layout. Every major OS makes it very easy to switch keymaps.