Yes. Writing for either person, however, requires restraint and extra creativity to get the result you actually want, while preserving another person's character. Even describing it is tricky. I'm not confident I'm being clear even now haha. In your case, you may need to run things by people first. Yay, for collaboration!