Or is that some kind of chess trap?
In a word, yes.
Johnson is goading the opposition to oust him because he cannot do anything while his Government is in a deep minority.
The opposition parties all want him out and all crave a General Election, but ousting him now runs the risk of an 'accidental' No deal Brexit at the end of October, as that date is currently in law as the UK's exit date and the UK must request an extension to Article 50 prior to that date in order to avoid crashing out.
Johnson's strategy is clear - threaten the EU with a disastrous No Deal exit and they will be much more likely to offer the UK better terms for a Withdrawal Agreement, which currently are unacceptable to the UK. It is a strategy that is working to some extent, but the major flaw is obvious - he doesn't have enough support in Parliament to actually go through with No Deal, and thus the EU don't need to make any concessions.
It's an incredibly high stakes game though. Johnson's Government is crippled and now at the mercy of MPs opposed to his stance who are able to force through laws while he maintains a minority Government. This could include revoking Article 50 itself, but as yet there is not enough support for that - but nor is there enough support for
any single option (hence how we got to this point in the first place).
Johnson's gamble is that if Parliament succeed in forcing the UK to remain inside the EU beyond October 31st via an extension of Article 50 (which has already been agreed in principle by the EU - it just needs to be formally requested by the UK Government), then there will be a General Election that he could stand to win... the polls look pretty ominous as support for Johnson is increasing and support for the main opposition leader is at a historic low.
If Johnson wins the next General Election, then his grand plan will probably work. If he doesn't, however, or if the next GE brings another hung Parliament, the UK could face being stuck in limbo for years, with possibly disastrous consequences. Eventually, the EU's patience will run out though, and the UK will face a stark choice between a No Deal Brexit or remaining inside the EU for another generation at least, unless a different government decides to go down the 'Soft Brext'/EEA route (but this is unlikely to command public support).
The real sticking point, IMHO, is that the EU have one red line that they are simply not prepared to compromise on - and that is that the UK, or at least part of it (Northern Ireland) must remain inside the Customs Union and Single Market permanently. While this works for them, it clearly doesn't work for the UK. The UK arguably has the moral and legal high ground here though, as member states have a right to leave the EU and the EU cannot exert its control over any part of a non-member state. The EU, however, can make life extremely hard for the UK after a No Deal Brexit, hence why it is a very high risk strategy - Johnson is gambling that the EU will eventually play ball because it is in their own interests to do so too, but I wouldn't hold my breath.