Yep - in the same way that you can prepare a meal with a Swiss Army knife instead of using kitchen knives, you can play music on a qwerty keyboard instead of a piano keyboard. You can achieve the same end result, but one tool is more tailored to doing the job.