Is it possible to purchase a company who is presently in a chapter 13?

Chapter13 is not available to corporations Chapt. 11 is.

And yes, you can buy the stock of a corporation in fact it almost always is creditors or 3rd party financiers.

If it isn't a like the assets of anyone, may be sold in BK, probably requiring trustee approval.