It certainly wont kill you, but it will probably be somewhat uncomfortable. The bodies digestive processes can be quite distracting, and they kick into gear even more strongly when the body is at a state of rest. This is why many people follow dietary guidelines and try to avoid eating anything too heavy for 2-3 hours prior to practices. Of course, sometimes you don't have that luxury and you have to do what you have to do.