Yes, and if you want it to boot directly into a tty mode run: sudo systemctl set-default multi-user.target
As an aside: on some of my computers it is Ctrl+Alt+F2 but on others it is Ctrl+Alt+F7 to return to graphical mode.
Maybe this have changed over the years, and I rarely if ever used these combinations to switch to TTY except for emergency (OOM, or window manager breakage), but on every Linux system I ever used, graphical mode was on (Ctrl+Alt+)F7.
I'm a proverbial greybeard and Ctrl+Alt+F7 used to just be what you did to get back to your desktop GUI.
FWIW, right now I'm typing this from Ubuntu Studio 24.04 and it's Ctrl+Alt+F2 to get back to the GUI. Ctrl+Alt+F1 shows you the bootup output scroll, +F3 to +F6 will give you a login prompt to drop into a shell. +F7 to +F12 just give me a blinking cursor un the upper right corner of the display.
I'm kinda surprised only +F3 to +F6 give me a shell login. Three isn't that many.