If you consider the sentence in isolation it is fine as A lot of money was allocated for food. A large amount of money was allocated for food. The second is more formal.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.