AFAIK not specifically, but implicitly through a couple of mechanisms:
1) giving them any sort of favorable trade deal, including peace deals, will give you an opinion boost with them, thus making it less likely that they will adopt a WAR approach to you
2) giving them stuff they like, e.g. GPT in exchange for luxes or something, is going to make them less likely to declare war as long as they're getting that, because they know that they would lose it if they declared
3) having to pay less or no GPT to you is going to make them less likely to DOW you in the future to get out of that deal than they would otherwise be
4) I believe Recursive added a mechanic about making the AI more likely to declare if you've taken some of their Cities, but there was some nuance involved there, so I'm not too sure, but I suppose it could be that not accepting their Cities as part of the peace deal will make them less likely to declare in the future