A new home could be built beside a restaurant in Malmesbury if Wiltshire Council approves plans.