Yes, this is okay.
By law, you can claim either a tax credit or a deduction on the foreign tax you pay. It is allowed to have a credit calculated on Schedule 3 from one set of foreign tax and deduction on the Schedule A from the other amount of foreign tax separately. As long as there is no double-dip, you are good to go.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"