No, because Douglas-Home was a member of the House of Lords. Johnson would need to be elevated to a peerage, but basically he’d be toast if he lost his Parliamentary seat.
Douglas-Home was a Lord when he became PM but he wasn't while he ran for MP which seems similar to me to Johnson loosing his seat while PM and having to find another. I suppose Douglas-Home wasn't rejected by the (local) electorate in the same way.
No, because Douglas-Home was a member of the House of Lords. Johnson would need to be elevated to a peerage, but basically he’d be toast if he lost his Parliamentary seat.