Can combining these two common pain medications be safe and effective for managing pain?

Can combining these two common pain medications be safe and effective for managing pain?