Boston is exploring the option of government-owned grocery stores to help people who are struggling with rising food prices.