Similar to my other question, but not the same. Since solar beam needs one turn to chrge, would it charge then next turn fire? But what if the Pokemon woke up next turn? Or would it simply fire once?
Sleep Talk cannot choose Solar Beam, along with other similar moves like Fly and Skull Bash. The full list of moves that don't work with Sleep Talk can be found here.