No, not at all. They were trying to set themselves up as a market maker. They did not want to hold a position. They screwed up and got behind, which incurred the risk of the market moving against them (it did).
Matt Levine's Money Stuff column covered this in detail. Incompetence, not villainy.
No matter how you slice it, they were speculating on housing inflation.