Can I assemble lots of different writings to a new future document (book)?

Suppose I write various types of scientific material,

and later want to collect the pieces into a larger document, maybe some book - is that at all feasible?

Probably not, but I have a solution