Yes, Jesus is the only Way to Heaven
"No one can come to the Father except through Me" He said
That said, it is possible for Jesus to appear to a person who hasn't known Him (hasn't known Him well...) @ death... and... well, we just do not know what happens at death or immediately after death...
If a person is on some deserted island & never heard of Jesus but tried to do as God led him... He could meet Jesus at death
"No one can come to the Father except through Me" He said
That said, it is possible for Jesus to appear to a person who hasn't known Him (hasn't known Him well...) @ death... and... well, we just do not know what happens at death or immediately after death...
If a person is on some deserted island & never heard of Jesus but tried to do as God led him... He could meet Jesus at death