How maintain separate itunes libraries with apple music?

I want to have 2 separate itunes libraries. One for home, one for work. But I have apple music. Which means that my cloud library automatically syncs. Is there any way to have my music downloaded from apple music, but still separated into one or the other library?

2017-04-11T00:37:33.809Z