Yes! Not only is it ok to pray for contrition, it is encouraged.
Contrition is absolutely essential for the forgiveness of sins. Older catholic books which helped one prepare for confession often had a section which was intended to help the penitent “excite contrition”.
Here is an example:
CONSIDER Who He is, and how good and gracious He is to you, Whom you have so often and so deeply offended by these sins. He made you – He made you for Himself, to know, love, and serve Him, and to be happy with Him forever. He redeemed you by His blood. He has borne with you and waited for you so long. He it is Who has called you and moved you to repentance. Why have you thus sinned against Him? Why have you been so ungrateful? What more could He do for you? Be ashamed, and mourn, and despise yourself, because you have sinned against your Maker and your Redeemer Whom you ought to love above all things!
Consider the consequences of even one mortal sin. By it you lose the grace of God. You destroy peace of conscience; you forfeit the felicity * of heaven, for which you were created and redeemed; and you prepare for yourself eternal punishment. If we grieve for the loss of temporal and earthly things, how much more should we grieve for having deliberately exposed ourselves to the loss of those which are eternal and heavenly!
Consider how great is the love of God for you, if only from this, that He has so long waited for you, and spared you, when He might have so justly cast you into hell. Behold Him fastened to the cross for love of you!
Sometimes the difficulty is in being sorry for our sins, and these meditations can help. Sometimes, however, the difficulty is actually due to a prior problem – we don’t really understand, or believe, that our action is a sin. In those cases, we either need to strive to understand the reasons something is sinful, or, to accept on faith that it is, because God, or His Church, tell us so.
Is that any help at all?
Short answer: yes! pray for contrition!