Can you breed Blastoise and Ditto and get a Squirtle?

Yes, you can. Any Pokémon (except another ditto and legendaries) of any gender can breed with ditto, and you will always get the first evolution of the non-ditto Pokémon. Of course, the baby Pokémon will eventually evolve.