Yes, the first line of Twelfth Night initiates an extended metaphor. It compares music and food. The speaker asserts that if “music” is the food of love that with too much music, he’ll grow sick (as if eating too much) of his love.