@Jorge904 Yes, you can list it as an entire place, just make it very clear in the listing that one bedroom and bathroom are off-limits and not for guest use.
But I really hope you have some outside security cameras that you can monitor, as well as one in your locked bedroom (and these must be disclosed in the listing info) and someone nearby who can act as a co-host, as you are only going to be renting this out when you are out-of-town. You could come back to a trashed house, guests throwing parties and disturbing the neighbors, breaking into your locked personal space, etc. You have to have some eyes and ears on the ground and guests need to be aware that there is someone around and paying attention who could turf them out if they misbehave.