As long as someone has more good attributes and less bad behaviors and isn't toxic to you, you can still have a good relationship with them even if they are not fully functional upright people. Key, you have to identify the bad behaviors and always functionally interact around those behaviors so you aren't negatively impacted by such behaviors. Always making sure the scale of bad behavior isn't adversely making you dysfunctional with them or others.