Yes, you can use the JR Railpass to get to Hakone. The JR Railpass will allow you to ride the shinkansen bullet train to Odawara Station. All shinkansen does not stop at Odawara so make sure you catch the Kodama shinkansen. The shinkansen ride from Tokyo to Odawara is only about 40 minutes.