Yes, but is it a good idea? The purpose of a backup is to mitigate the risk of disasters. Using the internal disk for TM mitigates against the risk of the SSD failing. But what if some other component of your Mac fails? Better to use the internal disk as additional data storage and backup both it and the SSD to an external HDD. That covers the risk of failure of any component of the Mac.