No, it is not possible to take a rental car from Costa Rica to Nicaragua. No rental company in Costa Rica allows this.