Sort of. Variolation also involved intentionally inoculating with a naturally occurring less deadly strain. Also, introducing intentional Covid infections in a naive population would likely infect many contacts of the inoculated patients before they got inoculated, which would defeat the purpose.