The HP specs for your product appear to show a standard CD/DVD drive. Verify it is not a laptop type device.The internal connections will not work and a standard optical drive will not fit in the chassis if it is an Ultra Slim CD/DVD drive.
You can still do this if it is a Ultra Slim device but you will have to purchase a compatible device.
You can swap in a Blue-ray CD/DVD reader/writer by removing the current optical drive. There is no place to add a second optical drive.
An external Blue-ray drive will work fine when connected to a USB 3.0 port.