They come with 2 cards and you can always buy more online. So yes, if you threw away your keys there are keyless Teslas.
I've seen articles of people using Java cards to create a Model 3 key card that works, but it wasn't possible to clone an existing card. They created a card, then had to use an existing authorized card (or phone) to unlock and turn on the car, then use the car's tablet screen to add the created card to the list of authorized cards.