It should be possible. There are occasional stories of agents refusing, but I would hope the short connection time would make it clear why you need this. If your flight is on time, you can actually just about clear immigration and check in again, so long as the passport queues move swiftly. HKG is very slick as an airport. But I agree you won't want to try it for yourself.
What I advise (when I remember!) is get a post-it note stuck on to your passport. Have on it the following, it could make live a lot easier.
Your name
HKG-PEN
KA flight number
CX flight number
The KA/CX locator
The KX/CX ticket number