Musical Typing

I do not have a midi keyboard. Is there a way to type in the notes using something similar to Mac’s Musical Typing in Garageband?

No. Audacity’s MIDI capabilities are extremely limited. You can play MIDI files, and do simple cut/copy/paste edits, but that’s about all.
Perhaps MuseScore would be a better option: