Of course, you can. There’s no problem storing your dudhi halwa. Use glass containers having airtight lids. Avoid plastic containers.