This can only be illegal.
Law, and all human rights and responsibilitys are built on the idea of humans making indipendent Judgments, free from any coersion or missleading information,, and so to allow giving voting advice from a machine with known, programed in, biases and inhibitory blocks is impossible, and could very quickly lead to total AI bans in many juristictions as there may be no reasonable way to monitor and certify such devices.