An “eyesore” former chippy could be demolished to make way for flats for people “in temporary accommodation or homeless”.