Unfortunately we do not support dose mimicking. However, implementing a basic quadratic dose penalty cost function inside opentps/opentps_core/opentps/core/processing/planOptimization/objectives/dosimetricObjectives/ and a new optimizer in opentps/opentps_core/opentps/core/processing/planOptimization/ will do the trick without being too cumbersome. Just be aware that for now OpenTPS does not support MLCs; therefore mimicking your dose map might be impossible if you used one to generate it.
We remain available to help you if further needed,