the apartment size shouldnt be a problem, if u can manage to walk him at least 2~3 times per day for 30mins ~1h each.
the main problem is, that dogs (adult dogs too) should not stay alone for a long time.
its also the reason I dont have pets. I work 40h a week.