Answer:
Could all the chocolate ice cream have been eaten?
- Could = modal verb.
- Have been eaten --> passive.
You could say Could all the chocolate ice cream have been eaten by someone?
In which case, the patient is acted upon [by the agent] → patient = subject.
So, the subject is all the chocolate ice cream.
--
Have a nice day!