1. You could have used the room if the event was not going on.
That is fine.
2. I could have applied for the post if I was younger.
That is also fine.
Neither case has anything to do with permission. "Could have" is a statement about the past, while your originals were statements about the present.
- For Teachers