Well, shoot, there have been composers who never learned to read music and/or play an instrument. Lionel Bart (who wrote both lyrics and music) would hum his songs and let someone else write them out. I believe Leslie Bricusse would work that way too.