Plans have been submitted to turn an Edinburgh residential property into a new eye clinic and community hub.