I'd definitely do it again with most of them (and they would too). There are some things you have to work out, such as having a clear, physical distinction between work and friends. We'd make sure to never talk about friend stuff on the work slack for example, and unintentionally didn't really discuss work outside of it.
I'm also completely fine having difficult conversations and so doing those with friends made no difference to me and it had no impact on our friendship. The only issues ever came from friends who were very obviously not pulling their weight for a very long time (we all have hiccups). Even after alerting them to it, there was no change in behaviour. I do not think I would work with them again but it did not impact the friendship.