Sweet goat possibly getting bed in school (12)
I believe the answer is:
butterscotch
'sweet' is the definition.
(butterscotch is a kind of sweet)
'goat possibly getting bed in school' is the wordplay.
'goat possibly' becomes 'butter' (animal that butts).
'getting' says to put letters next to each other.
'bed' becomes 'cot' (cot is a type of bed).
'in' means one lot of letters goes inside another.
'school' becomes 'sch' (abbreviation).
'cot' put inside 'sch' is 'scotch'.
'butter'+'scotch'='BUTTERSCOTCH'
(Other definitions for butterscotch that I've seen before include "confectionery" , "Brittle, yellow-brown sweet" , "Type of toffee" , "Kind of toffee" , "Hard brittle toffee" .)