I think that, although the two sentences are technically OK, they are a little clunky.

And, since my cats don't have any pajamas, by thinking that I am the cat's pajamas I think that I don't exist.