"More secure than E-Mail or SMS, because the codes are end-to-end-encrypted (Not in this demo, but supported by Matrix)"
Assuming encryption is turned on for a room, it's opportunistic unless both sides have verified each other out of band.
Maybe as a second factor, or as a user identifier (instead of email), it would be useful. But I wouldn't use it as the sole token for logging in.