Well, I can say it is possible however, I strongly recommend you don't.
the libs Javascripts are likely not going to change frequently so if you combine it with your main javascript, you're just going to be busting the cache every time which means the whole lot needs to be reloaded. Not to mention, you'll need to compile the whole lot every time you make a change.
I suggest keeping the two files separate. That way, when you make a change, only the cache will bust for your main javascript stylesheet thus, faster loading times.