Have you two talked about marriage before? Are your long-term goals compatible? I'm of the philosophy that totally spontaneous proposals generally aren't a great idea unless certain important things are already known.
If you have talked about those things, then yeah go for it.