Sure, some people programmed pascal with assembler to target CPUs.
I made a very simply onepass assembler in BASIC
but it was without labels,variable names,mnemonics+followed only with numbers
ok I had kinda "line numbers" too,but line numbers was the actual adress I wanted the mnemonic be coded into
I dont know if pascal had some syscall or USR like basic,if not probably wrote directly to a executable file format?
pascal I remember was lot of typing full words ,that C later replaced with lot shorter {} and lot of other onechar symbols
masm shortened it down to PROC, ENDP