Trial And Error:
What is the mechanistic relationship between morality and insight practice?
Its overall role in awakening - start to end - as found in the suttas may help answer your question.
Instead of thinking in terms of morality - think of how different types of behavior lead to different qualities of mind. Some activities lead to worry, regret, fear, etc. while others lead to a sense of security, calm, ease, etc. The latter qualities may be readily seen experientially as more open, relaxing, spacious while the former tend to be contractive, tight, closed in.
The following general pattern regarding sila (morality/virtue) and its role in awakening is repeated in many places in the suttas(read ‘>’ as ‘yields/develops/for the purpose of’):
skillful virtues>freedom from remorse >joy > rapture >serenity>pleasure>concentration>knowledge & vision of things as they actually are>disenchantment >dispassion >knowledge & vision of release (Arahat)
"In this way, Ananda, skillful virtues lead step-by-step to the consummation of arahantship."
sourceAnd the following sutta (a companion to the other) clarifies how this process unfolds:
"For a person endowed with virtue, consummate in virtue, there is no need for an act of will, 'May freedom from remorse arise in me.' It is in the nature of things that freedom from remorse arises in a person endowed with virtue, consummate in virtue.
[same with all the other qualities - one naturally follows the other]
For a dispassionate person, there is no need for an act of will, 'May I realize the knowledge & vision of release.' It is in the nature of things that a dispassionate person realizes the knowledge & vision of release.”
source