That doesn't seem to be a very good question to me. If I say "Yes," you'll tell me I believe in works-righteousness. If I say "No," I'm saying that only bad people go to heaven. (How much do I have to sin to go to heaven?)
Perhaps if you were to say "just by being a good person" it would work better.
I didn’t think the “no” answer was even an option. I do like your addition of “just by”, I might even abbreviate that, though, to “by” -
can you get to heaven by being a good person?
Indeed, I’m looking to expose the person who believes in works-righteousness, which is the “tell” for faux Christians.