No and yes.
The following aren't possible:
var o = {
a : 42,
b : o.a //raises a TypeError, o is not defined
};
var o = {
a : b : 42 //raises a SyntaxError, unexpected :
};
The following, however, are:
//referencing a pre-existing variable is obviously possible
var ans = 42;
var o = {
a : ans,
b : ans
};
var o = {
a : 42
};
//after the variable has been declared, you can access it as usual
o.b = o.a;
If you feel limited by the value being a single statement, you can always use an anonymous function:
var o = {
a : (function () {
doStuff();
return otherStuff();
}())
};