Nein, Nein, Nein,...DAS IST VERBOTEN...lol...Heat and vibration at the motor mount point will kill your CDI...lol.
This is where the other Schwinn guy with a similar frame as yours put his, He also used zip ties to attach his CDI...It will hold better with the zip ties due to the shape of that frame tubing...A piece of thin rubber, like old innertube is not a bad idea underneath the CDI also...Mine is also attached with zip ties on my beach cruiser...I also sent you a PM on this as well...DAMIEN
View attachment 162817