I've never tried, but Mozilla's example doesn't look that hard.
https://github.com/mozilla-spidermonkey/spidermonkey-embeddi...
The big issue (like with v8) is binary size. Double-digit megabytes before you even start running code is unacceptable in a lot of environments.